import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {StompStatusComponent} from "./stomp-status/stomp-status.component";
import {StompRawdataComponent} from "./stomp-rawdata/stomp-rawdata.component";
import {StompComponent} from "./stomp.component";

const routes: Routes = [
  {
    path: "",
    component: StompComponent
  },
  {
    path: "rawData",
    component: StompRawdataComponent
  },
  {
    path: "status",
    component: StompStatusComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class StompRoutingModule {
}
